Skip to content

Comments

Use SQL query API in mission list component#168

Merged
Xiphoseer merged 1 commit intoLUDevNet:mainfrom
lcdr:mission-list-query
Apr 6, 2024
Merged

Use SQL query API in mission list component#168
Xiphoseer merged 1 commit intoLUDevNet:mainfrom
lcdr:mission-list-query

Conversation

@lcdr
Copy link
Collaborator

@lcdr lcdr commented Mar 31, 2024

This does a bulk query of mission data on the SQL side, including all info from auxiliary tables needed to display a mission/achievement in a mission list, and fetches only what's necessary. This makes large mission pages like Hidden/Hidden much faster and also massively simplifies the logic in the frontend code. This PR nicely showcases the benefits of the new SQL API - I have a bunch more SQL API PRs in the pipeline that have similar performance increases and code simplifications.

@Xiphoseer Xiphoseer merged commit 3ef7ed5 into LUDevNet:main Apr 6, 2024
@lcdr lcdr deleted the mission-list-query branch April 6, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants